<template>
  <div>
    <student-com name="张三" gender="男" :age="18"></student-com>
    <student-com name="李四" gender="女" :age="20"></student-com>
  </div>
</template>

<script>
// 引入School组件
import Student from "./components/Student.vue";

export default {
  name: "App",
  components: {
    "student-com": Student,
  },
};
</script>
